package base.day15.Atext;

public class Student extends Person{
    int score;
    public Student(){
        super();
    }
    public Student(String name,int age,int score){
//        this.score=score;
        super(name,age);
        this.score=score;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
